package cn.zlp.pet.mapper;

import cn.zlp.basic.mapper.BaseMapper;
import cn.zlp.pet.domain.PetDetail;

import java.util.List;

public interface PetDetailMapper extends BaseMapper<PetDetail> {
    /** 根据宠物id查询宠物明细 */
    PetDetail loadByPetId(Long productId);

    /** 根据宠物id删除宠物明细 */
    void removeByPetId(Long petId);

    /** 根据宠物id修改宠物明细 */
    void updateByPetId(PetDetail detail);

    /** 根据宠物id批量删除宠物明细 */
    void batchRemoveByPetId(List<Long> ids);
}
